/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Dbs.Model
{

    /// <summary>
    ///  logicalBackups
    /// </summary>
    public class LogicalBackups
    {

        ///<summary>
        /// 全量备份ID
        ///</summary>
        public string BackupId{ get; set; }
        ///<summary>
        /// 备份开始时间，UTC时间格式：YYYY-MM-DDTHH:mm:ssZ
        ///</summary>
        public string BackupStartTime{ get; set; }
        ///<summary>
        /// 备份结束时间，UTC时间格式：YYYY-MM-DDTHH:mm:ssZ
        ///</summary>
        public string BackupEndTime{ get; set; }
        ///<summary>
        /// 备份到期时间，UTC时间格式：YYYY-MM-DDTHH:mm:ssZ
        ///</summary>
        public string BackupExpiretime{ get; set; }
        ///<summary>
        /// 要备份的对象名称, 如果不填、为空或为星号，表示对整个数据库进行备份
        ///</summary>
        public string Database{ get; set; }
        ///<summary>
        /// 该全量备份中包含的备份对象，仅当备份为逻辑备份时返回
        ///</summary>
        public List<string> Objects{ get; set; }
        ///<summary>
        /// 备份大小，单位：Byte
        ///</summary>
        public long? SizeByte{ get; set; }
        ///<summary>
        /// 是否手动触发的备份任务 0代表自动触发的备份 1代表手动触发的
        ///</summary>
        public int? IsManual{ get; set; }
        ///<summary>
        /// 备份状态 成功-COMPLETED  运行中-BUILDING  失败-ERROR
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// 错误信息，仅sucess为false时返回
        ///</summary>
        public string ErrorMessages{ get; set; }
        ///<summary>
        /// 源数据库的连接地址，可以为IP或者域名
        ///</summary>
        public string Ip{ get; set; }
        ///<summary>
        /// 源数据库的端口
        ///</summary>
        public int? Port{ get; set; }
    }
}
